﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CoreGallery.Core.Framework
{
    public class Gallery : CoreObject
    {
        private AlbumCollection _albums = new AlbumCollection();
        private string _galleryName;
        private string _galleryDescription;
        private DateTime _CreationDate;

        public string GalleryName
        {
            get { return _galleryName; }
            set {
                _galleryName = value;
                OnPropertyChanged("GalleryName");
            }
        }

        public string GalleryDescription
        {
            get { return _galleryDescription; }
            set {
                _galleryDescription = value;
                OnPropertyChanged("GalleryDescription");
            }
        }

        public DateTime CreationDate
        {
            get { return _CreationDate; }
            set {
               _CreationDate = value;
               OnPropertyChanged("CreationDate");
            }
        }

        public AlbumCollection Albums
        {
            get { return _albums; }
        }
    }
}
